.home-page {
  .home-header {
    position: fixed;
    top: 0;
    z-index: 1;
    width: 100%;
    height: 60px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
    padding: 0 40px;
    background-color: #fff;
    box-sizing: border-box;

    display: flex;
    justify-content: space-between;
    align-items: center;

    .header-title {
      font-size: 24px;
      font-weight: bold;
      text-shadow: 3px 3px 3px rgba(0, 0, 0, 0.2);
    }

    .header-opts {
      .avatar {
        width: 48px;
        height: 48px;
        border-radius: 50%;
        background-image: url("../../assets/images/user/noface.webp");
        background-size: cover;
        cursor: pointer;
      }
    }
  }

  .home-main {
    margin: 60px auto 0 auto;
    width: 1101px;
    // height: calc(100vh - 60px);
    box-sizing: border-box;
    background-color: #fff;
    padding: 10px;
    overflow: hidden;

    .ant-tabs-nav::before {
      display: none;
    }

    .ant-tabs-nav {
      .ant-tabs-nav-list {
        gap: 4px;
      }
      .ant-tabs-tab {
        border: none;
        border-radius: 6px;
        background-color: #f1f2f3;
      }

      .ant-tabs-tab-active {
        background-color: #00aeec;

        .ant-tabs-tab-btn,
        .ant-tabs-tab-remove {
          color: #fff;
        }
      }
    }

    .title-my-children {
      font-size: 18px;
      font-weight: bold;
      margin-bottom: 12px;
    }

    .child-container {
      border-radius: 6px;
      box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
      overflow: hidden;

      .top-padding,
      .bottom-padding {
        width: 100%;
        height: 12px;
        background-color: #f1f2f3;
      }

      .top-padding {
        border-radius: 6px 6px 0 0;
      }

      .bottom-padding {
        border-radius: 0 0 6px 6px;
      }

      .child-list {
        min-height: 70px;
        max-height: calc(100vh - 380px);
        padding: 3px 12px;
        display: flex;
        flex-direction: column;
        gap: 10px;
        background-color: #f1f2f3;
        overflow-y: auto;

        &::-webkit-scrollbar {
          width: 6px;
        }
        &::-webkit-scrollbar-thumb {
          background-color: rgba(0, 0, 0, 0.1);
          border-radius: 3px;
        }

        .child-item {
          flex-shrink: 0;
          height: 70px;
          border-radius: 6px;
          background-color: #fff;
          padding: 0 20px 0 12px;
          display: flex;
          align-items: center;
          justify-content: space-between;
          transition: 0.3s;
          cursor: pointer;

          &:hover {
            box-shadow: 0px 0px 8px rgba(255, 255, 255, 0.8);
            color: #00aeec;
            transform: scale(0.99);
          }

          .child-opts {
            display: flex;
            gap: 6px;
            .look-detail {
              color: #9499a0;

              &:hover {
                color: #00aeec;
              }
            }
          }
        }
      }
    }

    .no-data {
      position: relative;
      width: 100%;
      height: 380px;
      background-image: url("../../assets/bgm-nodata.png");
      background-size: 387px 228px;
      background-position: 50%;
      background-repeat: no-repeat;
      border-radius: 8px;
      box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
      display: flex;
      align-items: center;
      justify-content: center;

      div {
        margin-top: -250px;
        text-align: center;
        color: #ccc;
      }
    }

    .loading-container {
      width: 100%;
      height: 230px;
      box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
      border-radius: 8px;
      display: flex;
      align-items: center;
      justify-content: center;
    }
  }

  .adv {
    margin: 25px auto;
    width: 1090px;

    .ratio-box {
      width: 100%;
      position: relative;
      padding-top: 8.275%;
    }

    .img-box {
      position: absolute;
      left: 0;
      top: 0;
      width: 100%;
      height: 100%;
      box-sizing: border-box;
      background: #f1f2f3;
      background-clip: content-box;
      border-radius: 8px;
      cursor: pointer;

      .adv-img,
      img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 8px;
      }

      .adv-icon {
        position: absolute;
        top: 10px;
        right: 10px;
        width: 38px;
        height: 22px;
      }
    }
  }
}

.logout {
  cursor: pointer;
  transition: .2s;
  &:hover {
    color: #00aeec;
  }
}
